package top.healthylife.gateway.mgr.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import top.heathylife.gateway.common.po.GatewayAccountPo;

import java.util.List;

/**
 * @author maoxiaomeng
 */
public interface GatewayAccountService extends IService<GatewayAccountPo> {
    /**
     * 分页查询
     * @param shortName
     * @param secretName
     * @param env
     * @param page
     * @return
     */
    Page<GatewayAccountPo> pageQuery(String shortName, String secretName, String env,Page<GatewayAccountPo> page);

    /**
     * 列表查询
     * @param shortName
     * @param secretName
     * @param env
     * @return
     */
    List<GatewayAccountPo> listQuery(String shortName, String secretName, String env);
}
